package cn.itsource.pethome.Basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 查询数据封装
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
    //列表查询
    private List<T> data = new ArrayList<>();
    //总条数
    private Long total = 0L;

}
